package com.bobo.data;

import java.util.Arrays;
import java.util.Random;

public class DataStore {
    public static int[] data={9,8,7,6,5,4,3,2,1,0};
    static{

    }

    public static int[] getListRandom(int n){
        int[] list =new int[n];
        Random r=new Random();
        for (int i = 0; i < list.length; i++) {
            list[i]=  r.nextInt(100);
        }
        return list;
    }

    public static void main(String[] args) {
        int[] listRandom = getListRandom(10);
        System.out.printf("data"+ Arrays.toString(listRandom));
    }
}

